package com.ww.yaodao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ww.yaodao.model.bo.PayDO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface PayMapper extends BaseMapper<PayDO> {
    @Select("select * from tb_pay order by date desc limit 1 ")
    PayDO getCurrentInfo();
}
